const CREATE = "create";
const RELEASE = "release";
const PUBILSH = "publish";
const UNPUBLIS = "unpublish";
const SUBSCRIBE = "subscribe";
const UNSUBSCRIBE = "unsubscribe";
const ANALYZE = "";
class NotifyProxy {
    static onNotify(action, app, params) {
        if (null == AIPorxy) {
            return;
        }
    switch (action) {
        case CREATE: {
            NotifyProxy.onCreate(app, params);
            return;
        }
        case RELEASE: {
            NotifyProxy.onRelease(app, params);
            return;
        }
        case PUBILSH: {
            NotifyProxy.onPublish(app, params);
            return;
        }
        case UNPUBLIS: {
            NotifyProxy.onUnPublish(app, params);
            return;
        }
        case SUBSCRIBE: {
            NotifyProxy.onSubscribe(app, params);
            return;
        }
        case UNSUBSCRIBE: {
            NotifyProxy.onUnSubscribe(app, params);
            return;
        }
        case ANALYZE:{
            NotifyProxy.onAnalyze(app, params);
            return;
        }
        default:{
            return;
        }
    }
    }
    static onCreate(app, params) {
    }
    static onRelease(app, params) {
    }
    static onPublish(app, params) {
    }
    static onUnPublish(app, params) {
    }
    static onSubscribe(app, params) {
    }
    static onUnSubscribe(app, params) {
    }
    static onAnalyze(app, params) {
    }
}
module.exports = NotifyProxy;
